// vite.config.ts
import { defineConfig } from "file:///C:/Users/Administrator/Desktop/test-build/vite-project/node_modules/.pnpm/vite@5.4.3/node_modules/vite/dist/node/index.js";
import { vitePlugin } from "file:///C:/Users/Administrator/Desktop/ebonex-cli-feat-access/packages/vite/dist/index.js";
import { visualizer } from "file:///C:/Users/Administrator/Desktop/test-build/vite-project/node_modules/.pnpm/rollup-plugin-visualizer@5.12.0_rollup@4.21.2/node_modules/rollup-plugin-visualizer/dist/plugin/index.js";

// src/routes.ts
var routes_default = [
  {
    path: "/a",
    element: "@/a1.tsx",
    access: "wew"
  },
  {
    path: "/app",
    element: "@/app.tsx",
    access: "222"
  },
  {
    path: "/h1",
    element: "@/h1.tsx",
    access: "222"
  },
  {
    path: "/h2",
    element: "@/h2.tsx",
    access: "222"
  }
];

// vite.config.ts
var vite_config_default = defineConfig({
  plugins: [vitePlugin({
    routes: routes_default
  }), visualizer()],
  resolve: {
    alias: {
      "@": "/src/",
      qps: "/src/.qps/exports.ts"
    }
  },
  build: {
    assetsDir: "",
    minify: false,
    rollupOptions: {
      output: {
        entryFileNames: `index.js`,
        assetFileNames(chunkInfo) {
          if (chunkInfo.name?.includes("css")) {
            return `index.css`;
          }
          return chunkInfo.name || "";
        }
      }
    },
    cssCodeSplit: false
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiLCAic3JjL3JvdXRlcy50cyJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiY29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2Rpcm5hbWUgPSBcIkM6XFxcXFVzZXJzXFxcXEFkbWluaXN0cmF0b3JcXFxcRGVza3RvcFxcXFx0ZXN0LWJ1aWxkXFxcXHZpdGUtcHJvamVjdFwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiQzpcXFxcVXNlcnNcXFxcQWRt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